<{use class="frontend\assets\FancyBoxAsset"}>
<{FancyBoxAsset::register($this)|void}>
<{use class="frontend\assets\SwiperAsset"}>
<{SwiperAsset::register($this)|void}>

    <div class="content margin_top">
        <header class="header fixed_top bg_mx_green"></header>
        <div class="inspection"></div>
    </div>
    <div class="all_swipe swipe hide">
        <div class='swipe-wrap'></div>
        <ul class="position"></ul>
        <div class="swipe_close">&times;</div>
    </div>
    <script type="text/template" charset="utf-8" id='swipe_template'></script>
    <script type="text/template" charset="utf-8" id='inspection_template'></script>
    <script>
        // 详情模版
            var inspection = <{$detail}>;console.log(inspection)
            loadinspection(inspection)
            $(".row_one").css("height",(($(window).width()-45)*0.7/4)+"px")
        // 头部
            loadheadbar("巡检记录",1)

            
        $(function () {
            //点击预览图片
            $('.fancybox').fancybox({
                'titlePosition' : 'over',
                'cyclic'        : true,
                'height':500
            });

        })

    </script>



